package reflect_ex_1;

import java.util.Arrays;

public class ArgsDemo {
    public static void main(String[] args) {
        dosome(1);
        dosome(1,"a");
        dosome(1,"a","b");
        dosome(1,"a","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b","b");
    }
    public static void dosome(int a,String... s){
        System.out.println(s.length);
        System.out.println(Arrays.toString(s));
    }
}
